Skip to content

Add Xcode Cloud workflow editing#8

Merged
trmquang93 merged 1 commit intomainfrom
feature/xcode-cloud-workflow-editing
Mar 23, 2026
Merged

Add Xcode Cloud workflow editing#8
trmquang93 merged 1 commit intomainfrom
feature/xcode-cloud-workflow-editing

Conversation

@trmquang93
Copy link
Copy Markdown
Contributor

Summary

  • Add WorkflowEditPage with full form editing for Xcode Cloud workflows: general settings, environment (Xcode/macOS version selection), start conditions (branch, tag, pull request, scheduled), actions, and environment variables link
  • Add backend GET/PATCH endpoints for single workflow with Xcode/macOS version resolution via JSON:API include
  • Add tag start condition display on the workflows list
  • Add CI constants (action types, platforms, schedule frequencies, days of week)
  • Preserve manual start conditions through form round-trip to prevent silent data loss on save
  • Proper cache invalidation scoped to the specific account on workflow mutation

Test plan

  • npm run build passes
  • All 44 tests pass (vitest run)
  • Navigate to an app's Xcode Cloud page, click a workflow to open the editor
  • Edit workflow name, toggle enabled/disabled, change Xcode version -- verify Save button activates
  • Save changes and verify success feedback, then reload to confirm persistence
  • Switch between start condition types (branch/tag/PR/scheduled) and verify form resets correctly
  • Add/remove actions, edit scheme and platform fields
  • Test browser back/forward navigation between workflow editor and Xcode Cloud page
  • Deep-link directly to a workflow edit URL and verify it loads correctly

- Add WorkflowEditPage with form editing for workflow name, description,
  environment (Xcode/macOS versions), start conditions (branch, tag, PR,
  scheduled), and actions
- Add GET/PATCH endpoints for single workflow with version resolution
- Add tag start condition display on workflows list
- Add CI constants (action types, platforms, schedule frequencies)
- Handle manual start conditions passthrough to prevent data loss on save
@trmquang93 trmquang93 merged commit 86c07ee into main Mar 23, 2026
@github-actions github-actions bot deleted the feature/xcode-cloud-workflow-editing branch March 23, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant